Data Integration Resources

Data Connectivity


Table of Contents

  1. Data Integration Overview
  2. Data Connectivity
  3. Data Management
  4. Data Resolution
  5. Data Binding

The data connectivity layer in Flash MX Professional 2004 provides the ability to connect to external data sources to retrieve and send data. This functionality is provided to developers through the WebServiceConnector component for connecting to SOAP web services, the XMLConnector component for connecting to any external data source that returns XML through HTTP (such as JSP, ASP, Servlet, or ColdFusion), and Flash Remoting for accessing data directly from an application server using a more efficient binary protocol.

See resources for the following connection methods:

Web Services | XML | Flash Remoting

Data Connectivity diagram

Figure 2. Flash client-side architecture, including three data connectivity options: XML, web services, and Remoting

Web Services Component

Consume web services in Flash with the WebServiceConnector component and WebServices classes. Each let you access remote methods exposed by a server using the industry-standard SOAP (Simple Object Access Protocol) protocol.


Tutorials and Samples

Building a Tip of the Day Application (Part 2): Working with Web Services

Understand how to work with web services in Flash MX 2004 in second part of this article series.

Building a Google Search Application with Flash MX Professional 2004

Familiar with Visual Basic? Build on your current skills as you learn Flash application development in this tutorial.

Web Service Tutorial: Stock Quotes

Create a simple Flash app that connects to a public stock quotes site and lets users enter tickers for stock quotes.


XML Connectors

The XMLConnector component provides your application with access to any external data source that returns or receives XML through HTTP.


Tutorials and Samples:

Bike Trips Sample: Using the XMLConnector Component

Build a simple Flash app that populates various UI components with external XML-based data.

XML Tutorial: Timesheet

Create an application for viewing timesheet data.

Sample Code: Building an XML News Reader Sample in Flash MX 2004

Analyze this code sample that connects the Developer Center RSS feed.


Flash Remoting

Access data in the fastest way possible with Flash Remoting. It consumes remote methods exposed by a server using a binary protocol (AMF).

Flash Remoting Developer Center

Get tutorials, samples, and articles about Flash Remoting in this center.

Flash MX 2004 Remoting Components

Download these components to get started using Flash Remoting with Flash MX 2004.

More Resources:

Tutorials and Samples:

Introduction to Flash Remoting with .NET

Get up and running fast with Flash Remoting on the .NET platform by following this simple example.

Using the RDBMSResolver to Update a Database with Flash MX Professional 2004

Use Flash Remoting to read and update data from an Access database through a Coldfusion component (CFC).

Bicycle Parts Catalog: Flash and Databases

Connect a Flash interface to a database. Display and write data with this sample.

Getting Started with ColdFusion MX and Macromedia Flash Remoting

Create a Hello World program with ColdFusion components and Macromedia Flash MX.

Flash Remoting: Open the Gate for Dynamic Content

Query, display, drill down on data in Kevin Towes' tutorial on Flash Remoting and ColdFusion MX.

Connecting Macromedia Flash and PHP

Build a Macromedia Flash application that connects to a PHP-based web service through AMFPHP.